<?php
defined ( 'IN_ADMIN' ) or exit ( 'No permission resources.' );
$show_dialog = 1;
include $this->admin_tpl ( 'header', 'admin' );
?>
<script language="javascript" type="text/javascript"
	src="<?php echo JS_PATH;?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript"
	src="<?php echo JS_PATH;?>formvalidatorregex.js" charset="UTF-8"></script>
<script type="text/javascript">

</script>
<style>
.tableK {
	font-size: 14px;
	border-spacing: 0px;
	border-bottom: 1px solid #999;
	width: 100%;
}

.tableK tr th {
	background-color: #CFDBEC;
	font-weight: bold;
	width: 160px;
	text-align: right;
	border-right: none;
}

.tableK tr {
	
}

.tableK td {
	border: 1px solid #999;
	border-bottom: none;
	padding: 4px 6px;
}

.tableK td input[type='text'] {
	padding: 2px 4px;
	width: 300px;
	border: 1px solid #999;
}

.tableK td textarea {
	border: 1px solid #999;
}

.buttonpanle {
	width: 70%;
	text-align: center;
	margin-top: 4px;
}

.mf-body-title {
	height: 40px;
	line-height: 40px;
	font-weight: bold;
	padding-left: 20px;
}
</style>
<div>
	<form action="/index.php?m=hchbase&c=company&a=mylist" method="post">
		<table class="tableK" border="0">
			<tr>
				<th>序号</th>
				<td><input type="text" name="id" id="id"
					value="<?php echo $item['id'] ?>" readonly="readonly" /></td>
			</tr>
			<tr>
				<th>行业</th>
				<td><input type="text" name="item[profession]" id="profession"
					value="<?php echo $item['profession'] ?>" class="input-text" />*</td>
			</tr>
			<tr>
				<th>公司介绍</th>
				<td><textarea rows="10" cols="50" name="item[com_desc]"
						id="com_desc">value="<?php echo $item['com_desc'] ?>" </textarea>
                        <?php echo form::editor('item[com_desc]','full');?>
                    </td>
			</tr>
                <tr>
                    <th>是否推荐</th>
                    <td>
                        <select name="item[is_recommend]" id="is_recommend">
                        	<option value="1" <?php if($item['is_recommend']==1) echo "selected";?>>是</option>
                        	<option value="0" <?php if($item['is_recommend']==0) echo "selected";?>>否</option>
                        </select>
                    </td>
                </tr>
			<tr>
				<th>照片</th>
				<td>
                        <?php echo form::images('item[img]', 'img', $item['id'], 'link')?>
                    </td>
			</tr>
			<tr>
				<th>联系人</th>
				<td><input type="text" name="item[contact]" id="contact"
					class="input-text" value="<?php echo $item['contact'] ?>" /></td>
			</tr>
			<tr>
				<th>手机</th>
				<td><input type="text" name="item[mobile]" id="mobile"
					class="input-text" value="<?php echo $item['mobile'] ?>" /></td>
			</tr>
			<tr>
				<th>联系电话</th>
				<td><input type="text" name="item[tel]" id="tel" class="input-text" value="<?php echo $item['tel'] ?>" />
				</td>
			</tr>
			<tr>
				<th>Email</th>
				<td><input type="text" name="item[email]" id="email"
					class="input-text" value="<?php echo $item['email'] ?>" /></td>
			</tr>
			<tr>
				<th>营业执照</th>
				<td><input type="text" name="item[business_licence]"
					id="business_licence" value="<?php echo $item['business_licence'] ?>" class="input-text" /></td>
			</tr>
			<tr>
				<td colspan="3"><input type="submit" name="submit" id="submit"
					value="提交" /></td>
			</tr>
		</table>
	</form>
</div>
</body>
</html>